<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>投保完成 - 学平险投保</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
    <link href="../css/styles.css" rel="stylesheet">
    <style>
        /* 基础样式保护 */
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            line-height: 1.5;
            color: #333333;
            background-color: #f5f5f5;
            margin: 0;
            padding: 0;
        }
        
        .page-container {
            padding: 16px;
            padding-bottom: 70px;
            max-width: 600px;
            margin: 0 auto;
        }
        
        .card {
            background: white;
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 16px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        
        .btn {
            display: inline-block;
            padding: 12px 24px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 500;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
            text-decoration: none;
        }
        
        .btn-primary {
            background-color: #1890ff;
            color: white;
        }
        
        .btn-primary:hover {
            background-color: #40a9ff;
        }
        
        .btn-block {
            display: block;
            width: 100%;
        }
        
        .nav-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
            z-index: 100;
        }
        
        .nav-bar .grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px;
        }
        
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 8px 0;
            color: #666;
            text-decoration: none;
            font-size: 12px;
        }
        
        .nav-item.active {
            color: #1890ff;
        }
        
        .nav-item i {
            font-size: 20px;
            margin-bottom: 4px;
        }
        
        .text-success {
            color: #52c41a;
        }
        
        .text-primary {
            color: #1890ff;
        }
    </style>
</head>
<body>
    <div class="page-container">
        <!-- 完成提示 -->
        <div class="text-center py-8">
            <i class="fas fa-check-circle text-6xl text-success mb-4"></i>
            <h2 class="text-xl font-bold mb-2">投保信息提交成功</h2>
            <p class="text-gray-600 text-sm">投保结果信息将通过手机短信发送至投保人手机号码，请留意接收。</p>
        </div>

        <!-- 投保信息摘要 -->
        <div class="card">
            <h3 class="text-lg font-bold mb-4">投保信息</h3>
            
            <div class="space-y-4">
                <div class="border-b pb-4">
                    <h4 class="text-gray-500 mb-2">保险信息</h4>
                    <div class="grid grid-cols-2 gap-4">
                        <div>
                            <label class="text-sm text-gray-500">起保日期</label>
                            <p class="font-medium">2025-09-01</p>
                        </div>
                        <div>
                            <label class="text-sm text-gray-500">保障期间</label>
                            <p class="font-medium">一年</p>
                        </div>
                        <div>
                            <label class="text-sm text-gray-500">保费</label>
                            <p class="font-medium text-primary">¥80</p>
                        </div>
                    </div>
                </div>

                <div class="border-b pb-4">
                    <h4 class="text-gray-500 mb-2">投保人信息</h4>
                    <div class="grid grid-cols-2 gap-4">
                        <div>
                            <label class="text-sm text-gray-500">姓名</label>
                            <p class="font-medium">张天龙</p>
                        </div>
                        <div>
                            <label class="text-sm text-gray-500">身份证号</label>
                            <p class="font-medium">220186198704123215</p>
                        </div>
                        <div>
                            <label class="text-sm text-gray-500">手机号</label>
                            <p class="font-medium">13301380808</p>
                        </div>
                    </div>
                </div>

                <div class="border-b pb-4">
                    <h4 class="text-gray-500 mb-2">被保险人信息</h4>
                    <div class="grid grid-cols-2 gap-4">
                        <div>
                            <label class="text-sm text-gray-500">姓名</label>
                            <p class="font-medium">张俊豪</p>
                        </div>
                        <div>
                            <label class="text-sm text-gray-500">身份证号</label>
                            <p class="font-medium">11010320706193525</p>
                        </div>
                        <div>
                            <label class="text-sm text-gray-500">与投保人关系</label>
                            <p class="font-medium">父母/子女</p>
                        </div>
                    </div>
                </div>

                <div>
                    <h4 class="text-gray-500 mb-2">学校信息</h4>
                    <div class="grid grid-cols-2 gap-4">
                        <div>
                            <label class="text-sm text-gray-500">所在地区</label>
                            <p class="font-medium">吉林省-延边州</p>
                        </div>
                        <div>
                            <label class="text-sm text-gray-500">学校名称</label>
                            <p class="font-medium">测试1幼儿园</p>
                        </div>
                        <div>
                            <label class="text-sm text-gray-500">年级</label>
                            <p class="font-medium">幼儿园</p>
                        </div>
                        <div>
                            <label class="text-sm text-gray-500">班级</label>
                            <p class="font-medium">3班</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- 操作按钮 -->
        <div class="mt-6 space-y-4">
            <button class="btn btn-primary btn-block" onclick="window.location.href='my-orders.html'">查看我的订单</button>
            <button class="btn btn-block" onclick="window.location.href='home.html'">返回首页</button>
        </div>
    </div>

    <!-- 底部导航 -->
    <nav class="nav-bar">
        <div class="grid grid-cols-4 gap-2">
            <a href="home.html" class="nav-item">
                <i class="fas fa-home"></i>
                <span>首页</span>
            </a>
            <a href="consultation.html" class="nav-item">
                <i class="fas fa-comments"></i>
                <span>问题咨询</span>
            </a>
            <a href="claim-guide.html" class="nav-item">
                <i class="fas fa-file-alt"></i>
                <span>我要理赔</span>
            </a>
            <a href="my-orders.html" class="nav-item active">
                <i class="fas fa-user"></i>
                <span>我的订单</span>
            </a>
        </div>
    </nav>
</body>
</html> 